#include <iostream>
using namespace std;
const int N = 110;
int a[N];
void swap(int *a,int*b)
{
	int t = *a;
	*a = *b;
	*b = t;
}
int main()
{
    int n;
	cin >> n;
	for(int i = 0;i<n;i++)
	{
		cin>>a[i];
	 } 
	int left = 0,right = n-1 ;
    while(left<=right)
    {
    	swap(&a[left++],&a[right--]);
	}
	for(int i =0;i<n;i++)
	{
		cout << a[i] << " ";l
	}
	
	return 0;
}
